package com.llw.notify.util;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;

public class DateFormatter {
    private static final SimpleDateFormat datetimeSecond = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss", Locale.CHINESE);

    public static String datetimeSecond(final long postTime) {
        return datetimeSecond.format(new Date(postTime));
    }
}
